import request from '../../utils/request'

const api_weixin = '/api/order/weixin'


//获取支付二维码
export function getPayQRCode(orderId) {
    return request({
        url: `${api_weixin}/get/payQRCode/${orderId}`,
        method: 'get',
    })
}


//查询支付状态
export function getPaymentType(orderId) {
    return request({
        url: `${api_weixin}/get/payType/${orderId}`,
        method: 'get',
    })
}